-- 检测是不是主页
function zy_ui()
    x, y = findMultiColorInRegionFuzzy(0x701214, "938|19|0x861616,220|-6|0x9e2018,757|-12|0x851f16,818|95|0x2a2f42,270|278|0x242837,-28|1717|0x222634,112|1844|0x1c202b,478|1737|0x282d3d,656|1844|0x272c3d,942|1750|0xdfd398,771|1762|0xd9be42,575|1757|0xfae398,370|1760|0xf5e077,203|1792|0xf4e875,102|1767|0x171725", 80, 0, 0, 1079, 1919, 0, 0)
    if x > -1 then

    end
end

-- 滑动到最左边
function zy_left()
    for tmpi = 1, 2 do
        touchDown(1, 170, 1414)
        mSleep(50)
        touchMove(1, 1000, 1417)
        mSleep(50)
        touchMove(1, 1000, 1417)
    end
end

-- 进入皇宫
function zy_huangGong()
    x, y = findMultiColorInRegionFuzzy(0xd5b363, "7|-30|0x120b07,0|-20|0xf2d070,1|-7|0xfded85,2|-1|0xedd17e,3|5|0xd4b974,-2|5|0xebd78b,4|6|0xd6be78,9|13|0x201309,11|48|0x29211b,-10|36|0x27170a,-3|29|0xfcfbc8,-7|11|0x241406,7|10|0x231306,8|8|0x3b2007,10|-3|0x160f0c,10|-13|0x2d1804,-9|-6|0x180e0a", 80, 0, 0, 1079, 1919, 0, 0)
    if x > -1 then

    end
end

-- 进入书院
function zy_shuYuan()
    x, y = findMultiColorInRegionFuzzy(0xfeda7f, "3|-9|0xfed573,6|-26|0x130b08,-8|-23|0x130b08,-11|-5|0x150d09,-8|4|0xfedb84,-4|15|0x371c00,-7|40|0xfeedb9,0|65|0x201814,12|55|0xd0c29e,6|46|0xfdeec0,3|66|0x211915,2|81|0x241d18,9|51|0x371c00,9|23|0x1f130b,9|13|0x371c00,-7|20|0x1a120c,-6|20|0x291705,5|-3|0x896b33", 80, 0, 0, 1079, 1919, 0, 0)
    if x > -1 then

    end
end

-- 进入府宅
function zy_fuZai()
    x, y = findMultiColorInRegionFuzzy(0xf2d67e, "-15|-10|0x140c0a,3|-26|0x140c0a,10|2|0xc4a65e,10|6|0xeace79,7|39|0x2e1400,-3|7|0xf7de86,-5|15|0x211409,3|22|0x311901,1|42|0xfaefba,-1|73|0x211915,9|54|0xbaab85,0|46|0xeadfb1,-9|36|0xae9c70,-12|24|0x19120e,0|87|0x251e19", 80, 0, 0, 1079, 1919, 0, 0)
    if x > -1 then

    end
end

-- 进入关卡
function zy_guanQia()
    x, y = findMultiColorInRegionFuzzy(0xfed877, "-1|13|0xfee78c,-14|-6|0x010000,-6|-21|0x020000,14|-11|0x000000,11|13|0x060300,13|25|0xe2cc81,-8|19|0xf3d988,1|19|0x301700,2|42|0xfdebae,2|51|0xdacb9c,4|69|0x351901,8|57|0xfef6c7,-11|41|0x020000,6|88|0x020000,6|88|0x020000,-6|39|0x160a00,-7|60|0x010000", 80, 0, 0, 1079, 1919, 0, 0)
    if x > -1 then

    end
end

-- 进入牢房
function zy_laoFang()

    x, y = findMultiColorInRegionFuzzy(0xecd178, "-1|-14|0xebce70,0|-3|0xdcba67,-6|7|0x1c120b,7|12|0x17110f,5|31|0xfbf4b8,-9|33|0x26170b,2|45|0xefeac6,6|49|0xf3edc8,-1|69|0x221a16,-13|-21|0x140c09,-2|-21|0x2e1502,4|-20|0x1f1207,7|-7|0x341900,-10|-5|0x391d02,-9|37|0x22150c,-5|48|0x1c0600,8|34|0x381b00,11|41|0x371b04", 80, 0, 0, 1079, 1919, 0, 0)
    if x > -1 then

    end
end

-- 进入寻访
function zy_xunFang()
    x, y = findMultiColorInRegionFuzzy(0xfede7a, "-15|-6|0x140c09,-4|-19|0x130b08,6|11|0x1d130b,4|9|0x351a00,-13|16|0x3b1f07,-12|12|0xd4c57a,-3|19|0xfbe595,-1|12|0xa88a4b,4|6|0xc9ab5d,-4|29|0x19120f,-3|42|0x685236,-1|49|0x725e40,-1|56|0x321902,-5|45|0x2f1300,-14|36|0x301400,7|41|0x2c1000,0|64|0x201915,-3|49|0xe5dfba", 80, 0, 0, 1079, 1919, 0, 0)
    if x > -1 then

    end
end 
